"use strict";
const common_vendor = require("../common/vendor.js");
const composables_useManualTheme = require("../composables/useManualTheme.js");
const __unplugin_components_7 = () => "../node-modules/wot-design-uni/components/wd-config-provider/wd-config-provider.js";
const __unplugin_components_6 = () => "../components/PrivacyPopup.js";
const __unplugin_components_5 = () => "../components/GlobalMessage.js";
const __unplugin_components_4 = () => "../components/GlobalToast.js";
const __unplugin_components_3 = () => "../components/GlobalLoading.js";
const __unplugin_components_2 = () => "../node-modules/wot-design-uni/components/wd-toast/wd-toast.js";
const __unplugin_components_1 = () => "../node-modules/wot-design-uni/components/wd-message-box/wd-message-box.js";
const __unplugin_components_0 = () => "../node-modules/wot-design-uni/components/wd-notify/wd-notify.js";
if (!Array) {
  const _component_wd_notify = __unplugin_components_0;
  const _component_wd_message_box = __unplugin_components_1;
  const _component_wd_toast = __unplugin_components_2;
  const _component_global_loading = __unplugin_components_3;
  const _component_global_toast = __unplugin_components_4;
  const _component_global_message = __unplugin_components_5;
  const _component_privacy_popup = __unplugin_components_6;
  const _component_wd_config_provider = __unplugin_components_7;
  (_component_wd_notify + _component_wd_message_box + _component_wd_toast + _component_global_loading + _component_global_toast + _component_global_message + _component_privacy_popup + _component_wd_config_provider)();
}
const __default__ = {
  options: {
    addGlobalClass: true,
    virtualHost: true,
    styleIsolation: "shared"
  }
};
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
  ...__default__,
  __name: "default",
  setup(__props) {
    const { themeVars, theme } = composables_useManualTheme.useManualTheme();
    return (_ctx, _cache) => {
      return {
        a: common_vendor.p({
          ["theme-vars"]: common_vendor.unref(themeVars),
          theme: common_vendor.unref(theme),
          ["custom-class"]: `page-wraper ${common_vendor.unref(theme)}`
        })
      };
    };
  }
});
wx.createComponent(_sfc_main);
